*{
    margin: 0;
    padding: 0;
}
body{
  font-size: 12px;
  font-family: Arial;
}
ul li{
    list-style: none;
}
a{
    text-decoration: none;
    color: #666;
}
div#header{
    height: 30px;
    width:100% ;
    line-height: 30px;
    border-bottom: 1px solid #ddd;
    .center{
        margin: 0 auto;
        width: 1200px;
        ul{
            float: right;
            
            li{
                height: 30px;
                text-align: center;
                float: left;
                a {
                  border-right: 1px dotted #ccc;
                  padding: 0 15px;
                  display: inline-block;
                  height: 20px;
                  line-height: 20px;
                  &:hover{
                      color: rgb(255,102,153);
                  }
                }
                
            }
        }
        
    }
   
}
//  搜索区域
div#header_1{
    height: 120px;
    width: 100%;
    .center{
       box-sizing: border-box;
        margin: 0 auto;
        padding-top: 40px;
        height: 120px;
        width: 1200px;
        position: relative;
//      border: 1px solid red;
       .search {
          width: 520px;
          position: absolute;
          top: 21px;
          left: 50%;
          height: 81px;
          margin-left: -240px;
//        border: 1px solid red;
          .search_tab span.check{
              background-color: #f69;
              color: #fff;
          }
          .search_tab span{
              display: inline-block;
              text-align: center;
              width: 56px;
              background-color: #f2f2f2;
              line-height: 24px;
              cursor: pointer;
              color: #666;
              
          }
          form{
              height: 32px;
              width: auto;
          }
          #keyword{
              float: left;
              border: 2px solid #f69;
              width: 437px;
              line-height: 28px;
              height: 28px;
              padding: 0;
              margin: 0;
              padding-left: 8px;
              }
          .submit{
              border: none;
              float: left;
              width: 70px;
              height: 32px;
              background: #f69 url(http://d03.res.meilishuo.net/pic/_o/c5/89/5e7c00ec264e857089caf7d7f742_24_20.ch.png) no-repeat center;
              cursor: pointer;
          }
          p{
              padding-top: 12px;
              a.red_f{
                  color: #f69;
              }
              a{
                  padding-right: 5px;
              }
          }
          
        }
        
    }
    
    
    
}

#nav{
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #f69;
    .center{
        margin: 0 auto;
        width: 1200px;
//      box-sizing: border-box;
        height: 50px;
        ul li.active{
             border-bottom: 3px solid #f69;
        }
        ul li.active a{
             color: #f69;
        }
        ul li{
            display: inline-block;           
            margin-right: 12px;
           &:hover{
                   border-bottom: 3px solid #f69;
               }
           &:hover a{
               color: #f69;
           }
            a{
                text-align: center;
                height: 48px;
//              box-sizing: border-box;                
               line-height: 48px;
               font-size: 14px;
               font-weight: bolder;               
               padding: 0 15px;
               color: #000;
               
            }
            .rred{
                color: #f69;
            }
        
        
        
        
        }
    }
    
    
}

//<!--    左边分类 右边轮播图-->
#boxcenter{
    margin: 0 auto;
    width: 1200px;
    .left{
        float: left;
        width: 240px;
        height: 574px;
//        background: #269ABC;
        ul{
            width: 240px;
            height: 571px;
            border: 1px solid #e6e6e6;
            box-sizing: border-box;
            li{
                position: relative;
                width: 100%;
                height: 112px;
                border:1px solid transparent;
                .hide{
                    position: absolute;
                    display: none;
                    width: 350px;
                    height: 113px;
                    background: white;
                    left: 238px;
                    z-index: 2;
                    top: -2px;
                    padding: 12px;
                    box-shadow: 0 2px 8px #666;
                    a{
                        display: block;
                        float: left;
                        margin: 5px;
                         margin-right: 14px;
                         &:hover{
                              color: #f69;
                         }
                    }
                }
                &:hover{
                    border-bottom:1px solid #ccc;
                    .hide{
                        display: block;
                    }
                }
                h3>a{
                    color: #f69;
                }
                .center{
                    width: 198px;
                    height: 97px;
                    margin: 0 auto;
                    padding-bottom: 3px;
                    padding-top: 12px;
                    border-bottom: 1px dotted #ccc;
                    p{
                      height: 72px;
                      line-height: 24px;
                      white-space: nowrap;
                      overflow: hidden;
                      width: 190px;
                      padding-top: 5px;
                      a.rred{
                            color: #f69;
                        }
                      a{
                          float: left;
                          margin-right: 14px;
                          &:hover{
                               color: #f69;
                          }
                      }
                      
                    }
                }
                
            }
        }
        
        
    }
    //轮播图区域
    .right{
        float: right;
        height: 574px;
        width: 960px;
        
        .out {
            position: relative;
            width: 100%;
            height: 420px;
        //    margin: 50px auto;
        }
        .out .img li {
            position: absolute; 
            top: 0; 
            left: 0;
            display: none;
        }
        .out .num {
            position: absolute; 
            bottom: 20px;
            left: 0;
            font-size: 0;
            width: 100%;
            text-align: center;
        }
        .out .num li {
            width: 20px;
            height: 20px;
            display: inline-block;
            font-size: 16px;
            background-color: #666;
            color: #fff;
            text-align: center;
            line-height: 20px;
            border-radius: 50%;
            margin: 0 3px;
            cursor: pointer;
        }
        .out .num li.active { background-color:#a00;}
        .out .btn {
            position: absolute;
            top: 50%;
            width: 30px;
            height: 60px;
            margin-top: -30px;
            background: rgba(0,0,0,.5);
            color: #fff;
            text-align: center;
            line-height: 60px;
            font-size: 40px;
            display: none;
        }
        .out:hover .btn{ 
            display: block;
            cursor: pointer;
        }
        .out .left { left: 0;}
        .out .right { right: 0;}
        
        ul.pic_attr{
            width: 960px;
            height: 145px;
            margin-top: 10px;
            li{
                display: block;
                float: left;
                width: 182px;
                margin-left: 10px;
            }
            
        }
        
    }
}
//<!-- end  左边分类 右边轮播图-->
//正在流行
.liuxing{
    width: 1200px;
    height: 272px;
    
    margin: 0 auto;
    margin-top: 40px;
    .tit{
        color: #666;
        font-size: 12px;
        .operate{
            height: 15px;
            padding: 3px 0;
            padding-right: 10px;
            color: #999;
            text-align: right;
            border-bottom: 1px solid #ededed;
        }
        h2{
            float: left;
            font-size: 20px;
            background-color: #fff;
            span{
                font-weight: normal;
                font-size: 12px;
                color: #999;
                padding: 0 5px;
            }
        }
    }
    
    .cont{
        width: 1200px;
        height: 230px;
        margin-top: 20px;
        margin-left: -20px;
        a{
          display: block;
          margin-left: 20px;
          width: 180px;
          height: 230px;
          float: left;
          &:hover{
//            border: 1px solid #f69;
          }
          img{
              width: 100%;
              height: 100%;
          }
        }
        
    } 
}
//end正在流行
//新品精选
.xinping{
    width: 1200px;
    height: 272px;
    
    margin: 0 auto;
    margin-top: 40px;
    .tit{
        color: #666;
        font-size: 12px;
        .operate{
            height: 15px;
            padding: 3px 0;
            padding-right: 10px;
            color: #999;
            text-align: right;
            border-bottom: 1px solid #ededed;
            a{
                text-align: right;
            }
        }
        h2{
            float: left;
            font-size: 20px;
            background-color: #fff;
            span{
                font-weight: normal;
                font-size: 12px;
                color: #999;
                padding: 0 5px;
            }
        }
    }
    
    .cont{
        height: 870px;
        width: 1220px;
        margin-top: 20px;
        margin-left: -20px;
        .item{
          margin-left: 20px;
          padding-bottom: 38px;
          width: 224px;
          float: left;
          .pic{
              overflow: hidden;
          }
          .desc{
            margin-top: 15px;
            line-height: 20px;
            .price{
                color: #f69;
                font-size: 18px;
            }
            .like{
              padding-left: 20px;
              color: #999;
              float: right;
            }
            .tit a{
              width: 224px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              float: left;
              &:hover{
                  color: #f69;
              }
            }
            
          }
        }
    }
    
}
//end新品

//时尚美妆
.shishang{
    width: 1200px;
    height: 272px;
    
    margin: 0 auto;
    margin-top: 40px;
    .tit{
        color: #666;
        font-size: 12px;
        .operate{
            height: 15px;
            padding: 3px 0;
            padding-right: 10px;
            color: #999;
            text-align: right;
            border-bottom: 1px solid #ededed;
            a{
                text-align: right;
            }
        }
        h2{
            float: left;
            font-size: 20px;
            background-color: #fff;
            span{
                font-weight: normal;
                font-size: 12px;
                color: #999;
                padding: 0 5px;
            }
        }
    }
    
    .cont{
        height: 528px;
        width: 1220px;
        margin-top: 20px;
        margin-left: -20px;
        .item{
          margin-left: 20px;
          width: 386px;
          float: left;
          .pic{
            overflow: hidden;
            a{
              display: block;
              height: 386px;
              img{
                  width: 100%;
                  height: 100%;
              }
            }
          }
          
          .desc{
              margin-top: 15px;
              line-height: 24px;
              .price {
                  color: #f69;
                  i {
                    font-size: 18px;
                    font-style: normal;
                  }
              }
              .ori-price {
                  padding-left: 25px;
                  text-decoration: line-through;
                  color: #999;
              }
              .tit {
                    font-size: 14px;
                    color: #333;
                    a{
                        height: 386px;
                        &:hover{
                            color: #f69;
                        }
                    }
                }
          
                .subtit {
                  color: #999;
                  height: 50px;
                  overflow: hidden;
                }
                .tag {
                  background: url('http://d02.res.meilishuo.net/pic/_o/f4/11/53efcb9f82efde8ac756a9af37db_30_230.cg.png') no-repeat 0 1px;
                  padding-left: 40px;
                  a{
                    color: #f69;
                    padding-right: 10px;
                  }
                }
            
            }
        }
    
    }
}
//end时尚美妆
//Hi范儿
.hifan{
    width: 1200px;
    height: 316px;
    
    margin: 0 auto;
    margin-top: 40px;
    .tit{
        color: #666;
        font-size: 12px;
        .operate{
            height: 15px;
            padding: 3px 0;
            padding-right: 10px;
            color: #999;
            text-align: right;
            border-bottom: 1px solid #ededed;
            a{
                text-align: right;
            }
        }
        h2{
            float: left;
            font-size: 20px;
            background-color: #fff;
            span{
                font-weight: normal;
                font-size: 12px;
                color: #999;
                padding: 0 5px;
            }
        }
    }
    
    .cont{
        height: 528px;
        width: 1220px;
        margin-top: 20px;
        margin-left: -20px;
        .tab {
          text-align: center;
          div {
            display: inline-block;
            zoom: 1;
            font-size: 16px;
            margin: 20px;
            margin-top: 0;
            cursor: pointer;
          }
          .active {
              color: #f69;
              border-bottom: 2px solid #f69;
            }
          
          
        }
        .tab-inner{
            width: 1220px;
            height: 233px;
            .tab-item {
                display: none;
                .item {
                  position: relative;
                  margin-left: 20px;
                  width: 386px;
                  float: left;
                  img {
                      width: 386px;
                      height: 230px;
                   }
                }
            }
            .tab-item.active {
                display: block;
            }
            
        }
    
    }
}
//endHi范儿

//好店推荐
.haodian{
    width: 1200px;
    height: 509px;
    
    margin: 0 auto;
    margin-top: 40px;
    .tit{
        color: #666;
        font-size: 12px;
        .operate{
            height: 15px;
            padding: 3px 0;
            padding-right: 10px;
            color: #999;
            text-align: right;
            border-bottom: 1px solid #ededed;
            a{
                text-align: right;
            }
        }
        h2{
            float: left;
            font-size: 20px;
            background-color: #fff;
            span{
                font-weight: normal;
                font-size: 12px;
                color: #999;
                padding: 0 5px;
            }
        }
    }
    
    .cont{
        height: 528px;
        width: 1220px;
        margin-top: 20px;
        margin-left: -20px;
        .tab {
          text-align: center;
          div {
              display: inline-block;
              zoom: 1;
              font-size: 16px;
              margin: 20px;
              margin-top: 0;
              cursor: pointer;
            }
           .active {
              color: #f69;
              border-bottom: 2px solid #f69;
            }
        }
        .tab-inner{
            .tab-item {
              display: none;
              .item {
                  position: relative;
                  margin-left: 20px;
                  width: 386px;
                  float: left;
                 
                  img {
                      width: 386px;
                      height: 333px;
                    }
                  .mask{
                      .bg {
                          font-size: 14px;
                          position: absolute;
                          top: 0;
                          background-color: #333;
                          opacity: .5;
                          filter: alpha(opacity=50);
                          width: 386px;
                          height: 333px;
                        }
                        .unadd,.go {
                          position: absolute;
                          width: 120px;
                          height: 42px;
                          line-height: 42px;
                          border: 1px solid #fff;
                          color: #fff;
                          left: 132px;
                          top: 110px;
                          text-align: center;
                          font-size: 16px;
                          cursor: pointer;
                        }
                        .go{
                            top: 180px;
                           a{
                              display: block;
                              width: 100%;
                              color: #fff;
                              float: left;
                            }
                        }
                    }
                    .desc {
                      padding-top: 15px;
                      text-align: center;
                      line-height: 25px;
                      .tit {
                          font-size: 22px;
                          color: #333;
                          height: 25px;
                          overflow: hidden;
                          a {
                              float: none;
                            }
                        }
                        .subtit {
                          color: #999;
                          height: 25px;
                          overflow: hidden;
                        }
                        i {
                          font-style: normal;
                          color: #f69;
                          padding-right: 20px;
                        }
                        .last {
                          padding-right: 0;
                        }
                    }
                   
                }
            }
            .active {
              display: block;
            }
        }
    
    }
}
//end好店推荐
//为你精选 
.jingxuan{
    width: 1200px;
    height: 815px;
    
    margin: 0 auto;
    margin-top: 40px;
    .tit{
        color: #666;
        font-size: 12px;
        .operate{
            height: 15px;
            padding: 3px 0;
            padding-right: 10px;
            color: #999;
            text-align: right;
            border-bottom: 1px solid #ededed;
            a{
                text-align: right;
            }
        }
        h2{
            float: left;
            font-size: 20px;
            background-color: #fff;
            span{
                font-weight: normal;
                font-size: 12px;
                color: #999;
                padding: 0 5px;
            }
        }
    }
    
    .cont{
        margin-top: 20px;
        margin-left: -20px;
        width: 1220px;
        height: 770px;
        .item {
          margin-left: 20px;
          padding-bottom: 38px;
          width: 224px;
          float: left;
          .pic {
              overflow: hidden;
              a {
                 height: 340px;
                 img {
                     width: 100%;
                     height: 100%;
                    }
                }
            }
           .desc {
              margin-top: 15px;
              line-height: 20px;
              .price {
                  color: #f69;
                  font-size: 18px;
                }
              .like {
                  padding-left: 20px;
                  color: #999;
                  float: right;
                  background: url('http://d02.res.meilishuo.net/pic/_o/f4/11/53efcb9f82efde8ac756a9af37db_30_230.cg.png') no-repeat 0 -23px;
                }
              .tit {
                  color: #333;
                  a {
                      width: 100%;
                      overflow: hidden;
                      white-space: nowrap;
                      text-overflow: ellipsis;
                      cursor: pointer;
                      padding-right: 20px;
                      display: block;
                      &:hover{
                          color: #f69;
                      }
                    }
                }
                
            }
        }
        
    }
}
//end为你精选 
//底部
#foot{
  height: 100px; 
  width: 100%;
  min-width: 1260px;
  margin-top: 15px;
  padding-top: 30px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  .center{
      width: 1200px;
      height: 100px;
      margin: 0 auto;
      .friendlink {
          clear: both;
          border-top: 1px solid #e6e6e6;
          line-height: 20px;
          padding: 5px 10px;
          overflow: hidden;
          .more {
              float: right;
            }
          .link {
              float: left;
            }
          .link-slide {
              float: left;
              height: 20px;
              line-height: 20px;
              width: 800px;
              overflow: hidden;
              li{
                  list-style: none;
                   a{
                      color: #666;
                      text-decoration: none;
                      padding-left: 5px;
                    }
                }
            }
        }
        
    .record{
          clear: both;
          border-top: 1px solid #e6e6e6;
          line-height: 22px;
          padding-top: 10px;
          padding-bottom: 15px;
    }
  }

}
